.class Lcom/nemustech/regina/ElementReginaWidget$4;
.super Ljava/lang/Object;
.source "ElementReginaWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementReginaWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementReginaWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementReginaWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 181
    iput-object p1, p0, Lcom/nemustech/regina/ElementReginaWidget$4;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getImage(I)Landroid/graphics/Bitmap;
    .locals 2
    .parameter "faceIndex"

    .prologue
    .line 184
    if-nez p1, :cond_0

    .line 185
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$4;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-static {v0}, Lcom/nemustech/regina/ElementReginaWidget;->access$200(Lcom/nemustech/regina/ElementReginaWidget;)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 190
    :goto_0
    return-object v0

    .line 186
    :cond_0
    const/4 v0, 0x1

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$4;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-virtual {v0}, Lcom/nemustech/regina/ElementReginaWidget;->hasBack()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 187
    iget-object v0, p0, Lcom/nemustech/regina/ElementReginaWidget$4;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-static {v0}, Lcom/nemustech/regina/ElementReginaWidget;->access$300(Lcom/nemustech/regina/ElementReginaWidget;)Landroid/graphics/Bitmap;

    move-result-object v0

    goto :goto_0

    .line 189
    :cond_1
    const-string v0, "ElementReginaWidget"

    const-string v1, "[Center Panel JIT]faceIndex is greater than 1"

    invoke-static {v0, v1}, Lcom/nemustech/regina/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 190
    const/4 v0, 0x0

    goto :goto_0
.end method
